Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Collections.​Generic.​IDictionary`2

Assembly: System.Runtime

Represents a generic collection of key/value pairs.

Properties

public TValue
Item
public ICollection`1
Keys
Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" /> .
public ICollection`1
Values
Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" /> .

Methods

public void
Add​(TKey key, TValue value)
public bool
ContainsKey​(TKey key)
public bool
Remove​(TKey key)
public bool
TryGetValue​(TKey key, TValue& value)